package cn.edu.zzuli.wechat.user.service;

import cn.edu.zzuli.model.entity.RunOrder;
import cn.edu.zzuli.model.vo.order.AllOfferOrderQueryVo;
import cn.edu.zzuli.model.vo.all.DetailsQueryVo;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpSession;
import java.util.Map;

public interface RunOrderService extends IService<RunOrder> {
    //用户接取订单
    Integer addRunOrder(Integer id, HttpSession session);

    //用户自己接的订单列表
    Map<String, Object> queryRunOrderList(AllOfferOrderQueryVo queryVo, Integer uid);

    //获取详细信息
    Object getDetails(DetailsQueryVo detailsQueryVo);

    //删除并改变订单状态
    void delRunOrder(int id, int i);

    //完成确认申请
    void applyFinish(Integer id,Integer uid);
}
